package net.dgg.dggcloud.service.jrcrm.entity.business;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 无效库实体
 * @ClassName: AntiInvalid
 * @Author: 周潮
 * @Date: 2017年11月18 17:21:04
 * @Version V1.0
 */

@Entity
@Table(name = "bus_anti_invalid")
public class AntiInvalid extends BaseEntity{

    /**
     * 客户id
     */
    @Column(name = "customer_id")
    private Long customerId;

    /**
     * 反无效商机id
     */
    @Column(name = "business_id")
    private Long businessId;

    /**
     * 反无效商务id
     */
    @Column(name = "anti_invalid_user_id")
    private Long antiInvalidUserId;

    /**
     * 反无效商务姓名
     */
    @Column(name = "anti_invalid_user_name")
    private String antiInvalidUserName;

    /**
     * 反无效商务部门id
     */
    @Column(name = "anti_invalid_user_org_id")
    private Long antiInvalidUserOrgId;

    /**
     * 反无效商务部门名称
     */
    @Column(name = "anti_invalid_user_org_name")
    private String antiInvalidUserOrgName;

    /**
     * 反无效原因
     */
    @Column(name = "anti_invalid_reason")
    private String antiInvalidReason;

    /**
     * 反无效时间
     */
    @Column(name = "anti_invalid_time")
    private Date antiInvalidTime;

    /**
     * 反无效审核人id
     */
    @Column(name = "anti_invalid_reviewer_id")
    private Long antiInvalidReviewerId;

    /**
     * 反无效审核人姓名
     */
    @Column(name = "anti_invalid_reviewer_name")
    private String antiInvalidReviewerName;

    /**
     * 客户id
     * @return customer_id 客户id
     */
    public Long getCustomerId() {
        return customerId;
    }

    /**
     * 客户id
     * @param customerId 客户id
     */
    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    /**
     * 反无效商机id
     * @return business_id 反无效商机id
     */
    public Long getBusinessId() {
        return businessId;
    }

    /**
     * 反无效商机id
     * @param businessId 反无效商机id
     */
    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }

    /**
     * 反无效商务id
     * @return anti_invalid_user_id 反无效商务id
     */
    public Long getAntiInvalidUserId() {
        return antiInvalidUserId;
    }

    /**
     * 反无效商务id
     * @param antiInvalidUserId 反无效商务id
     */
    public void setAntiInvalidUserId(Long antiInvalidUserId) {
        this.antiInvalidUserId = antiInvalidUserId;
    }

    /**
     * 反无效商务姓名
     * @return anti_invalid_user_name 反无效商务姓名
     */
    public String getAntiInvalidUserName() {
        return antiInvalidUserName;
    }

    /**
     * 反无效商务姓名
     * @param antiInvalidUserName 反无效商务姓名
     */
    public void setAntiInvalidUserName(String antiInvalidUserName) {
        this.antiInvalidUserName = antiInvalidUserName == null ? null : antiInvalidUserName.trim();
    }

    /**
     * 反无效商务部门id
     * @return anti_invalid_user_org_id 反无效商务部门id
     */
    public Long getAntiInvalidUserOrgId() {
        return antiInvalidUserOrgId;
    }

    /**
     * 反无效商务部门id
     * @param antiInvalidUserOrgId 反无效商务部门id
     */
    public void setAntiInvalidUserOrgId(Long antiInvalidUserOrgId) {
        this.antiInvalidUserOrgId = antiInvalidUserOrgId;
    }

    /**
     * 反无效商务部门名称
     * @return anti_invalid_user_org_name 反无效商务部门名称
     */
    public String getAntiInvalidUserOrgName() {
        return antiInvalidUserOrgName;
    }

    /**
     * 反无效商务部门名称
     * @param antiInvalidUserOrgName 反无效商务部门名称
     */
    public void setAntiInvalidUserOrgName(String antiInvalidUserOrgName) {
        this.antiInvalidUserOrgName = antiInvalidUserOrgName == null ? null : antiInvalidUserOrgName.trim();
    }

    /**
     * 反无效原因
     * @return anti_invalid_reason 反无效原因
     */
    public String getAntiInvalidReason() {
        return antiInvalidReason;
    }

    /**
     * 反无效原因
     * @param antiInvalidReason 反无效原因
     */
    public void setAntiInvalidReason(String antiInvalidReason) {
        this.antiInvalidReason = antiInvalidReason == null ? null : antiInvalidReason.trim();
    }

    /**
     * 反无效时间
     * @return anti_invalid_time 反无效时间
     */
    public Date getAntiInvalidTime() {
        return antiInvalidTime;
    }

    /**
     * 反无效时间
     * @param antiInvalidTime 反无效时间
     */
    public void setAntiInvalidTime(Date antiInvalidTime) {
        this.antiInvalidTime = antiInvalidTime;
    }

    /**
     * 反无效审核人id
     * @return anti_invalid_reviewer_id 反无效审核人id
     */
    public Long getAntiInvalidReviewerId() {
        return antiInvalidReviewerId;
    }

    /**
     * 反无效审核人id
     * @param antiInvalidReviewerId 反无效审核人id
     */
    public void setAntiInvalidReviewerId(Long antiInvalidReviewerId) {
        this.antiInvalidReviewerId = antiInvalidReviewerId;
    }

    /**
     * 反无效审核人姓名
     * @return anti_invalid_reviewer_name 反无效审核人姓名
     */
    public String getAntiInvalidReviewerName() {
        return antiInvalidReviewerName;
    }

    /**
     * 反无效审核人姓名
     * @param antiInvalidReviewerName 反无效审核人姓名
     */
    public void setAntiInvalidReviewerName(String antiInvalidReviewerName) {
        this.antiInvalidReviewerName = antiInvalidReviewerName == null ? null : antiInvalidReviewerName.trim();
    }

}
